package com.etime.shycourse.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName AccountHistoryDto
 * @Description  用户历史提成支付总和信息数据传输对象
 * @Author huangwei
 * @Date 2022/7/20 14:18
 */
public class AccountHistoryDto {
    private Integer settlementuserid;
    private String username;
    private String usertruename;
    private String showpic;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date settlementpatytime;  //支付时间
    private Double settlementsaleSum;  //销售总金额
    private Double settlementamountSum;  //提成总金额
    private Integer settlementid;

    public Integer getSettlementid() {
        return settlementid;
    }

    public void setSettlementid(Integer settlementid) {
        this.settlementid = settlementid;
    }
    public String getUsername() {
        return username;
    }

    public String getUsertruename() {
        return usertruename;
    }

    public void setUsertruename(String usertruename) {
        this.usertruename = usertruename;
    }

    public String getShowpic() {
        return showpic;
    }

    public void setShowpic(String showpic) {
        this.showpic = showpic;
    }

    public Integer getSettlementuserid() {
        return settlementuserid;
    }

    public void setSettlementuserid(Integer settlementuserid) {
        this.settlementuserid = settlementuserid;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getSettlementpatytime() {
        return settlementpatytime;
    }

    public void setSettlementpatytime(Date settlementpatytime) {
        this.settlementpatytime = settlementpatytime;
    }

    public Double getSettlementsaleSum() {
        return settlementsaleSum;
    }

    public void setSettlementsaleSum(Double settlementsaleSum) {
        this.settlementsaleSum = settlementsaleSum;
    }

    public Double getSettlementamountSum() {
        return settlementamountSum;
    }

    public void setSettlementamountSum(Double settlementamountSum) {
        this.settlementamountSum = settlementamountSum;
    }
}
